import baseComp from "./v2/baseComp";
import commonAvueQuery from "./v2/commonAvueQuery";
import commonButton from "./v2/commonButton";
import commonConfig from "./v2/commonConfig";
import commonConfigForm from "./v2/commonConfigForm";
import commonDialog from "./v2/commonDialog";
import commonIp from "./v2/CommonIp"
import commonIps from "./v2/commonIps";
import commonMiniDialog from "./v2/commonMiniDialog";
import commonSelectTree from "./v2/commonSelectTree";
import commonTable from "./v2/commonTable";
import commonText from "./v2/commonText";
import dynamicRow from "./v2/dynamicRow";
import layoutContainer from "./v2/layoutContainer";
import newCommonQueryTable from "./v2/newCommonQueryTable";
import reminder from "./v2/Reminder";
import selectTable from "./v2/selectTable";
import space from "./v2/Space";
import statusLight from "./v2/statusLight";
import portRange from "./v2/portRange";
import colorSelector from "./v2/colorSelector";
import commonTree from "./v2/commonTree";
import flowRate from "./v2/flowRate";
import fileUpload from "./v2/fileUpload";
import newEchartsLine from "./v2/newEchartsLine";
import proportionChart from "./v2/proportionChart";
import imgShow from "./v2/imgShow";
import layoutComps from "./v2/layoutComps";
import drawer from "./v2/drawer";
import commonTab from "./v2/commonTab"
import commonColumnTab from "./v2/commonColumnTab"
import commonEditingTree from "./v2/commonEditingTree";
import fileChooseTree from "./v2/fileChooseTree";
import topoFlowComps from "./v2/topoFlowComps";
import mac from "./v2/mac";
import cardCommp from "./v2/cardCommp.vue";
import numCountCommp from "./v2/numCountCommp";
import splitCommp from "./v2/splitCommp";
import tableSelect from "./v2/tableSelect";
import selectDialog from "./v2/selectDialog";
import selectCustom from "./v2/selectCustom";
import rollingComp from './v2/rollingComp.vue'
import imgEdit from './v2/imgEdit.vue'

const components = [
  baseComp,
  commonAvueQuery,
  commonButton,
  commonConfig,
  commonConfigForm,
  commonDialog,
  commonIp,
  commonIps,
  commonMiniDialog,
  commonSelectTree,
  commonTable,
  commonText,
  dynamicRow,
  layoutContainer,
  newCommonQueryTable,
  reminder,
  selectTable,
  space,
  statusLight,
  portRange,
  colorSelector,
  commonTree,
  flowRate,
  fileUpload,
  newEchartsLine,
  proportionChart,
  imgShow,
  layoutComps,
  drawer,
  commonEditingTree,
  commonTab,
  commonColumnTab,
  fileChooseTree,
  topoFlowComps,
  mac,
  cardCommp,
  numCountCommp,
  splitCommp,
  tableSelect,
  selectDialog,
  selectCustom,
  rollingComp,
  imgEdit
]
const registerComp = {
  install(Vue) {
    if (this.installed) return
    this.installed = true
    components.map(component => {
      Vue.component(component.name, component);
    })
  }
}
export default registerComp;
